import React from 'react';
import './App.css';
import 'antd/dist/antd.css';
import Home from "./pages/index";
import {BrowserRouter as Router, Route, Switch} from "react-router-dom";
import WrappedNormalLoginForm from "./pages/login";


function App() {
  return (
    <div className="App">
        <Router>
        <Switch>
            <Route path="/login" exact  component={WrappedNormalLoginForm}/>
            <Route path='/' component={Home}/>
        </Switch>
        </Router>
    </div>
  );
}

export default App;
